package cn.zhihong.org.service;

import cn.zhihong.basic.util.PageList;
import cn.zhihong.org.domain.Department;
import cn.zhihong.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {

    //基础的查询
    List<Department> loadAll();

    Department loadById(Long id);

    void save(Department department);

    void update(Department department);

    void remove(Long id);

    PageList<Department> queryData(DepartmentQuery query);


}
